<?php foreach($essays as $essay): ?>
  <a href="<?php echo url_for('essay_show',array('slug' => $essay->getSlug())) ?>">
    <?php echo $essay->getTitle() ?>
  </a>
  <br />
  by <?php echo link_to($essay->getAuthor()->getName(), 'author_show', $essay->getAuthor()) ?>
  <br /><br />
<?php endforeach ?>
